/**
 *
 *
 cMax: 8
 cMin: 9
 collectPoint: "焊联工业"
 colseHour: 22.61
 equipmentName: "气体保护焊机"
 exHour: 0
 exRange: 0.02
 nomalHour: 0
 realName: "龙斌1"
 tHour: 0
 tendingValue: 80
 uEquipmentCode: "HJKLY4010068"
 vMax: 6
 vMin: 7
 waitHour: 1.39
 __proto__: Object
 *
 * */


export const dataDetails = {
    state: {
        details: {
            cMax: 0,
            cMin: 0,//电流
            collectPoint: "无",// 设备定位
            colseHour: 0,//关闭时长
            equipmentName: "无",//设备名称
            exHour: 0,// 异常时长(当天)
            exRange: 0,// 总的异常率
            nomalHour: 0,// 工作时长(当天)
            realName: "无",//运维人员
            tHour: 0,// 日工作时长
            tendingValue: 0,// 设备设定工作时长
            uEquipmentCode: "无",//设备编号
            vMax: 0,
            vMin: 0,//电压
            waitHour: 0,// 待机时长(当天)
            countDownHour: 0, //倒计时
            exMRange: 0,
            exMHour: 0,
        },
        export_data: {
            allData: {
                currentValue: [],
                retime: [],
                voltage: []
            },
            exData: {
                currentValue: [],
                retime: [],
                voltage: []
            },
            tjData: {
                btime: "",
                cAvg: 0,
                cMax: 0,
                cMin: 0,
                cShorRange: "0",
                ceAvg: 0,
                className: "",
                eRange: "",
                equipmentName: "",
                etime: "",
                realname: null,
                uEquipmentCode: "",
                vAvg: 0,
                vEhour: 0,
                vMax: 0,
                vMin: 0,
                vShorRange: "",
                veAvg: 0,
                vhour: 0,
            }
        }

    },
    mutations: {
        SET_DATA_TAILS: (state, details) => {
            state.details = details
        },
        SET_EXPORT_DATA: (state, export_data) => {
            state.export_data = export_data
        },

    },
    actions: {}
}
